<!DOCTYPE html>
<!--加上这个才有提示-->
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8"/>
    <title>模板测试页面</title>
</head>
<body>
<h1 th:text="${host}">Hello World</h1>
<p> today is :<span th:text="${today}"></span></p>
<!--URL-->
<a th:href="@{${host}}">hostName</a>
<a th:href="@{${img}}">测试图片</a>
<img src="http://10.1.28.205/images/img.jpg">
<img src="http://10.1.28.205/images/img.jpg">
</body>
</html>